package com.example.dsplatform.pojo.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("Teacher")
public class Teacher {
    //教师ID
    @TableId(value = "TNO", type = IdType.AUTO)
    private Integer id;
    //姓名
    @TableField(value = "TNAME")
    private String name;
    //身份证号
    @TableField(value = "TCARDNO")
    private String idCardNo;
    //电话
    @TableField(value = "TPHNO")
    private String phoneNo;
    //性别
    @TableField(value = "TSEX")
    private String sex;
    //教学年限
    @TableField(value = "TYEARS")
    private Integer years;
    //政治面貌
    @TableField(value = "POLITICAL")
    private Integer political;
    //婚姻状况
    @TableField(value = "MARITAL")
    private String marital;
    //介绍
    @TableField(value = "INTRO")
    private String intro;
    //租户号
    @TableField(value = "TENANT_ID")
    private String tenant_id;
    //乐观锁
    @TableField(value = "REVISION")
    private String revision;
    //创建人
    @TableField(value = "CREATED_BY")
    private String created_by;
    //创建时间
    @TableField(value = "CREATED_TIME")
    private String created_time;
    //更新人
    @TableField(value = "UPDATE_BY")
    private String update_by;
    //更新时间
    @TableField(value = "UPDATE_TIME")
    private String update_time;

}
